package com.itheima.user;

import com.itheima.common.es.feign.EsBookFeign;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

/**
 * @author liqp
 * @version 1.0
 * @date 2021/1/28
 */
@SpringBootApplication
@MapperScan("com.itheima.user.mapper")
@EnableEurekaClient
//feign扫描接口包
@EnableFeignClients(basePackages = "com.itheima.common.es.feign")
public class UserApp {

    public static void main(String[] args) {
        SpringApplication.run(UserApp.class, args);
    }
}
